From: Juanma Barranquero Date: Wed, 12 Feb 2003 15:49:41 +0000 (+0000) Subject: (makefile-font-lock-keywords): Simplify last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~53315 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d58ef8a6f353423c4205c368cd6d1c44f6956649;p=emacs.git (makefile-font-lock-keywords): Simplify last change. --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 98a3d460884..dcab340ec82 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -269,11 +269,11 @@ not be enclosed in { } or ( )." (list makefile-dependency-regex 1 'font-lock-function-name-face) ;; Variable references even in targets/strings/comments. - '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) + '("\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%\\)" 1 font-lock-reference-face prepend) - '("\\$[({]\\([@%\\)" 1 font-lock-constant-face prepend) ;; ...but not shell variables references. '("\\$\\$\\(\\sw+\\)" 1 'default t)